package com.rc.saas.tenant.model.system;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import com.rc.saas.tenant.model.tenant.TenantStatusConverter;

import java.util.Date;

public class RcAgreementNotification extends BaseModel {

    @ExcelIgnore
    private Long agreementNotificationId;

    @ExcelProperty(value = "运营商代码",index = 0)
    private String tenantCode;

    @ExcelProperty(value = "消息标题",index = 1)
    private String agreementTitle;

    @ExcelProperty(value = "消息内容",index = 2)
    private String agreementContent;

    @ExcelIgnore
    private String agreementType;

    @ExcelProperty(value = "状态",index = 5, converter = TenantStatusConverter.class)
    private String status;

    @ExcelProperty(value = "创建人",index = 3)
    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelProperty(value = "创建时间",index = 4)
    private Date createdTime;

    @ExcelIgnore
    private String lastUpdatedBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelIgnore
    private Date lastUpdatedTime;

    public Long getAgreementNotificationId() {
        return agreementNotificationId;
    }

    public void setAgreementNotificationId(Long agreementNotificationId) {
        this.agreementNotificationId = agreementNotificationId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getAgreementTitle() {
        return agreementTitle;
    }

    public void setAgreementTitle(String agreementTitle) {
        this.agreementTitle = agreementTitle;
    }

    public String getAgreementContent() {
        return agreementContent;
    }

    public void setAgreementContent(String agreementContent) {
        this.agreementContent = agreementContent;
    }

    public String getAgreementType() {
        return agreementType;
    }

    public void setAgreementType(String agreementType) {
        this.agreementType = agreementType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }
}